"""
采集硬盘信息
"""
from lib.plugins.BasePlugin import BasePlugin


class DiskPlugin(BasePlugin):
    def process(self, ssh_func, hostname):
        info = ssh_func(hostname, 'df -h')
        return {'disk': info}
